<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
       var Number =prompt("输入当日星期数字1~7：");
       if(Number ==1){
        alert('上班，开会');
       }
       else if(Number ==2){
        alert('上班，团队讨论需求');
       }
       else if(Number ==3){
        alert('上班，制定方案');
       }
       else if(Number ==4){
        alert('上班，编写程序');
       }
       else if(Number ==5){
        alert('上班，汇报工作');
       }
       else if(Number >=6){
        alert('休息');
       }
    </script>
</body>
</html>